#pragma once

#include <QWidget>
#include "ui_PipelineInfoWid.h"


class Pipeline;
class PipelineInfoWid : public QWidget
{
	Q_OBJECT

public:
	PipelineInfoWid(Pipeline* pipe, QWidget* parent = nullptr);
	~PipelineInfoWid();

	bool IsNeedReset();
	QString GetName();

private slots:
	/*修改任务完成数量*/
	void on_pushButton_clicked();
	/*放弃任务*/
	void on_pushButton_2_clicked();
	/*继续执行*/
	void on_pushButton_3_clicked();
	/*任务完成*/
	void on_pushButton_4_clicked();
private:
	Ui::PipelineInfoWid ui;
	Pipeline* m_pipe = nullptr;
};
